public class VariableTest {
    public static void main(String[] args) {
        int legs = 4;
        System.out.println(legs);
        legs = 2;
        System.out.println(legs);

        System.out.println("legs = " + legs);

//        int i ;
//        System.out.println(i);
//
//        Animal animal = new Animal();
//        System.out.println(animal.legs);
    }
}
